package com.ruoyi.mqtt;

import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
@ComponentScan(basePackages = {"com.ruoyi.common.redis.configure","com.ruoyi.mqtt"})
//@MapperScan(basePackages = {"com.ruoyi.mqtt.mapper"})
public class MqttApplication {
    public static void main(String[] args) {
        SpringApplication.run(MqttApplication.class);
    }
}
